package service;

import entity.Dormrooms;

import java.sql.SQLException;
import java.util.List;

public interface DormroomsService {
    List <Dormrooms>cx2(Integer lid ) throws SQLException, ClassNotFoundException;
    List<Dormrooms> cxb(Integer lid, int page, int pageSize ) throws SQLException, ClassNotFoundException;
    int getTotalCount(Integer lid) throws SQLException, ClassNotFoundException;
    int scb(int id) throws SQLException, ClassNotFoundException;
    int tjb(int building_id,String room_number, int floor,int capacity) throws SQLException, ClassNotFoundException;
}
